<template>
  <tm-app>
    <!-- #ifndef H5 -->
    <tm-navbar title="浙里资产" hide-home> </tm-navbar>
    <!-- #endif -->
    <tm-button
      label="网络请求"
      block
      @click="jumpPage('/pages/Work/work')"
    ></tm-button>
    <tm-button label="不同按钮"></tm-button>
    基本目录demo
  </tm-app>
</template>

<script lang="ts" setup>
//@ts-nocheck
// import { ref, getCurrentInstance, nextTick } from 'vue'
// import { onShow, onLoad, onInit } from '@dcloudio/uni-app'

const jumpPage = (path: string) => {
  uni.switchTab({ url: path })
}
// const { proxy } = getCurrentInstance()
</script>
